import { Module } from '@nestjs/common';
import { StatisticService } from './statistic.service';
import { StatisticController } from './statistic.controller';
import { UserLogin } from 'src/user/entities/user-login.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
import { DailyCommentStats } from './entities/dailyCommentStats.entity';
import { EnterpriseSearchStats } from './entities/enterpriseSearchStats.entity';
import { TopKeywords } from './entities/topKeywords .entity';
import { DailyKeyStats } from './entities/dailyKeyStats.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([
      UserLogin,
      DailyCommentStats,
      EnterpriseSearchStats,
      TopKeywords,
      DailyKeyStats,
    ]),
  ],
  providers: [StatisticService],
  controllers: [StatisticController],
})
export class StatisticModule {}
